package rd.hardcore.events 
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author Fazermokeur
	 */
	public class NavEvent extends Event 
	{
		public static const SWITCH_PADMANAGER : String = "switch_padmanager";
		
		public var id:int;
		
		public function NavEvent(type:String, _id:int, bubbles:Boolean = false, cancelable:Boolean = false) 
		{ 
			super(type, bubbles, cancelable);
			id = _id;
		} 
		
		public override function clone():Event 
		{ 
			return new NavEvent(type, id, bubbles, cancelable);
		} 
		
		public override function toString():String 
		{ 
			return formatToString("NavEvent", "type", "id", "bubbles", "cancelable", "eventPhase"); 
		}
		
	}
	
}